Fixed fileZ. Closes #1.