fixed if condition for file inclustions