Python loop through files in directory recursively