Also takes xyz files as input.