Pub instruction

pub, depub and file instructions are added and working