Remove file extensions security