so it seems the errors were coming from a bad file extension