Change how I detect files and read releasefile contents.

Now only reads once and only at the start. Micro optimization to be sure,
but it helped out the logic a skosh.