Checks references to other files.

Checks if there are files referenced in the given file.