The Formation of a Small-Scale Filament After Flux Emergence on the Quiet Sun