added input validation to file ManagableFileTree