Changed parameters for searching files