So I have written what I think is a really simple chat program. It works fine running locally on my computer, but on my VPS it doesn't work. Always throws up an error saying file not found when it attempts to open the text file. The file is definitely there. I thought it might be a permissions issue, but the chat.txt file has full permissions. And like I said, it runs fine locally.