file path was written incorrectly