As stated by @codenanda, I was using the wrong file format. The current version of the OpenAI API only supports JSON files.