add filetype extention to operations file
move operations logic into data file