Updated perms type to output file not found if file does not exist