using mockito to mock get_command_counter_and_increment
made actual_file_name private