fixing issue with empty files in commit