Fixed up the file directory stuff!