also, (awkwardly) attempt to find a header file in pycardium to put the filename_restricted function into.
filename_restricted
Also: hanged the error return from EPERM to EACCESS