Using dictionaries instead of lists, fits files as input