Add getattr and statfs to support ls
Add open function