Python goes through files and gets coordinates

They are put in a list