add state option that allows absent to remove the file

add state option that allows the file module to remove file.