add sample files for testing
reimplement detection of "opens_function"