Reintroduced the file lookup