dropping option to ask for the file format as this can be determined by the ending