Add -k flag to file(1) command.