Python Get Folder From Filename