added setFileExtensions and getFileExtensions, organized file extensions better