It turns out there were cariage returns added to the files when I transfered them. I got some insight from Mike Heins, and now things are working properly. Thanks for all the help guys.