PaperTwo-dimensional collective flux pinning, defects, and structural relaxation in amorphous superconducting films