Excluding files with main methods