Revert "Hopefully fixed"

This reverts commit a2a04ead0e6db6deddeef7c5d8fc6f94bd62a5a5.
Revert "Fixed syntax error"

This reverts commit cfad4489d4781ca32a8506db83f16a38414d22af.
Revert "Fixed File export corruption"

This reverts commit fef0161f7ca3ddf237973d7078b67a2597ad29e8.