Change how file name is recieved and used.