moved code of writing to file from CameraActivity to FileHandler
refactoring
Merge branch 'flash' into camera