added recent file functionality