Added an option to allow multiple listings of a file