fixed a bug with file opening
changed related to removing gtf.h and gtf.cpp