GNU/Linux fix

I fixed file.cpp and makefiles to actually assemble in Linux. It was not working before. 
It was a mismatch in function call open(string&, string) instead of open(string&, string&)
Makefile needed additional flag (-std=c++11) for GCC to actually work.