Fixed bug where filenames could not be overriden.