improved filesystem static method to non static
added more method for filesystem operation