block output implemented. Bug with file upload