Updated to allow any file type