started working on decodeFile