Implemented stage/unstage of files