Problem
Create a function called getFileList that will take one argument which is the path of a folder (I can pass any folder's paths to test it). The function should use os.popen to get a list of files on the path (passed as argument). You can treat the subfolders at the path as files. You do not have to separate files and folders.
Parse the output of os.popen() and make a list of the files returned by os.popen()
The function getFileList should return a list of filenames.