Filsystem operations for php