Remove block about changing filename based on directory.