getFileNames function

Get file names for a specific process