added different files to maintain logs and line number and filename