added pointer to file