There is no way in python to get '.' and '..' in the ls -a option , so manually appending it to the file list