retrieve properties in given order from the file