added alternative file-resolve method in case normal resolving fails