Add function to retrieve all logs files from command line arguments