Save a reference to the current path in file controller