Added setFileStatus() with checking the given status against the
validFileStatus option list
self.db.visibleStatus -> visibleFileStatus