Add BMR
Change behavior if a file is used as input