Bug fix when modifed file containing a space character