clear and create file operation in commons
made append a synchronized op