Moved file perm + access functions to util. trashing cross partition now deletes the original file