Added a function for returning files in a Map