Need to remove \n after getting string from file