BUG FIX! - fixes error that could allow ANY file on the system to be read!