using coordinates in file