Used path module to find the path of a single file.