loading picture from database and save to file system