Add native methods

FileSystem related methods in natives. Use case with file existance check.