called file correctly