Finds all external file dependencies from a TypeScript file path.