file detection for .cuh