media.capturePhoto() overwrite

will file overwrites if you have same filename in directory after 2nd capture?