Implemented file & static memory streams