backward compatibility of file resolving