Started on function for saving byte[] to file
Creates directories necessary itself