Added function for looking up files.