Updated file opening
Fixed preprocessor macros

Removed assignment operator