Generalized code to take in any file type