handling require locations in file