Abstracted out file extensions in uploads