Fix file list crash.

Fixes a stupid oversight that is entirely my fault.