removing file-related code