Stop using map for files