Separate code into functions and check filename presence
Parse YFD actions log file