Remove space from file