Modified to ignore unnecessary files