add function to collect particle information from OSCAR format files