Updated Code to get files without pass.