Reverted file open method (for slight speed increase)