Changed get_logs to work with different file naming convention