Added utility functions into filesystem library

Started directory implementation for posix like systems