Strip the newline from file name